package com.edu.exam.enums.assessment.generation;

/**
 * 同步状态枚举
 */
public enum SyncStatus {
    SYNCED("已同步"),
    PENDING("待同步"),
    OUT_OF_SYNC("不同步"),
    ERROR("同步错误");

    private final String description;

    SyncStatus(String description) {
        this.description = description;
    }

    public String getDescription() {
        return description;
    }

    @Override
    public String toString() {
        return name() + " - " + description;
    }
}